package routers

import (
	"example.com/m/controllers/api"
	"github.com/gin-gonic/gin"
)

func ApiRoutersInit(r *gin.Engine) {
	apiRouters := r.Group("/api")
	apiController := api.ApiController{}
	{
		apiRouters.GET("/getOne", apiController.GetOne)
		apiRouters.GET("/addOne", apiController.AddOne)
		apiRouters.GET("/editOne", apiController.EditOne)
		apiRouters.GET("/delOne", apiController.DelOne)
	}
}
